package TransactionImplementation

//添加每小时员工
//引入
import (
	"SalaryPayment/Model"
	"SalaryPayment/ModelImplementation"
)

//结构体
type AddHourlyEmployee struct {
	itsHourlyRate float64
}

//支付分类
func (ace *AddHourlyEmployee) GetClassification() Model.PaymentClassification {
	//返回每小时分类
	return ModelImplementation.NewHourlyClassification(ace.itsHourlyRate)
}

//付款时间表
func (ace *AddHourlyEmployee) GetSchedule() Model.PaymentSchedule {
	//返回每周时间表
	return ModelImplementation.WeeklySchedule{}
}
